desktopdir 	 = $(datadir)/applications
desktop_in_files = pluma.desktop.in
desktop_DATA 	 = $(desktop_in_files:.desktop.in=.desktop)
$(desktop_DATA): $(desktop_in_files)
	$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@

appdatadir = $(datadir)/metainfo
appdata_in_files = pluma.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
$(appdata_DATA): $(appdata_in_files)
	$(AM_V_GEN) GETTEXTDATADIRS=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@

gsettings_SCHEMAS = org.mate.pluma.gschema.xml
@GSETTINGS_RULES@

man_MANS = pluma.1

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = pluma.pc

bugreportdir = $(libexecdir)/pluma
bugreport_SCRIPTS = pluma-bugreport.sh

EXTRA_DIST = 			\
	$(appdata_in_files)	\
	$(desktop_in_files)	\
	$(man_MANS)			\
	pluma.pc.in			\
	pluma-bugreport.sh.in

CLEANFILES =	 			\
	$(desktop_DATA)			\
	$(gsettings_SCHEMAS)	\
	$(pkgconfig_DATA)		\
	$(appdata_DATA)




-include $(top_srcdir)/git.mk
